package com.one.rope.mvp.web.business.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.one.rope.mvp.web.business.entity.MemberPushTaskLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.one.rope.mvp.web.common.dto.admin.push.AdminMemberPushListDTO;
import com.one.rope.mvp.web.common.dto.admin.push.AdminMemberPushListItemVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 推送任务表 Mapper 接口
 * </p>
 *
 * @author wesley
 * @since 2020-02-20
 */
@Repository
public interface MemberPushTaskLogMapper extends BaseMapper<MemberPushTaskLog> {

  /**
   * 分页查询会员推送任务列表
   */
  List<AdminMemberPushListItemVO> selectMemberPushTaskListByPage(
      @Param("page") Page<AdminMemberPushListItemVO> page,
      @Param("requestDTO") AdminMemberPushListDTO requestDTO);
}
